<?php
/**
 * 意见反馈验证器
 */

namespace app\common\validate;

class FeedbackValidate extends Validate
{
    protected $rule = [
            'user_id|用户id' => 'require',
    'description|内容' => 'require',

    ];

    protected $message = [
            'user_id.require' => '用户id不能为空',
    'description.require' => '内容不能为空',

    ];

    protected $scene = [
        'add'  => ['description',],
        'edit' => ['description',],

    ];

    

}
